class formatJson {
	success(message, result) {
		return { code: 200, success: true, message, result };
	}
	failure(message, result) {
		return { code: 101, success: false, message, result };
	}
}
module.exports = new formatJson();